package com.wehealth.dm;

public class User {
	
	private int userID = -1 ;
	private String account;
	private String password;
	private String userName;
	private int age;
	private int sex = 0 ;
	private String phoneNum;
	private String address;
	private String bank;
	private String coupon;
	
	public User(){
	    userID = -1 ;
	    account = null;
	    password= null;
	   userName= null;
	   age =0;
	   sex = 0 ;
	   phoneNum= null;
	   address= null;
		
	}
	
	
	
	public void setUserId(int id){
		userID = id;
	}
	public int getUserId(){
		return userID;
	}
	
	public void setAccount(String account){
		this.account = account;
	}
	
	public String getAccount(){
		return account;
	}
	
	public void setPassword(String psw){
		this.password = psw;
	}
	
	public String getPassword(){
		return password;
	}
	
	public void setUserName(String name){
		userName = name;
	}
	
	public String getUserName(){
		return userName;
	}
	
	public void setUserAge(int age){
		this.age = age;
	}
	
	public int getUserAge(){
		return age;
	}
	//sex
	public void setUserSex(int sex){
		this.sex = sex;
	}
	
	public int getUserSex(){
		return sex;
	}
	
	//phone number
	public void setPhoneNumber(String num){
		this.phoneNum = num;
	}
	
	public String getPhoneNumber(){
		return phoneNum;
	}
	
	//address
	public void setaddress(String addr){
		this.address = addr;
	}
	
	public String getaddressr(){
		return address;
	}
	
	public void setbank(String bank){
	    this.bank =bank;
	}
	
	public String getbank(){
	        return bank;
	}
	
   public void setcoupon(String coupon){
        this.coupon =coupon;
    }
    
    public String getcoupon(){
            return coupon;
    }
	
	
	
	
	
	

}
